package com.qf.model.pojo;


public class UserCard {
    private Integer id;     //银行卡编号
    private String c_id;       //银行卡号
    private String c_pwd;       //银行卡支付密码
    private String  c_account;      //开户行
    private String  c_phone;        //银行预留手机号
    private Double c_balance;        //银行卡余额     默认：0.0
    private Integer c_check;        //是否审核   0：未审核  1：已审核   默认0
    private Integer c_bind;        //是否绑定   0：未绑定 1：已绑定  2:主卡    默认0
    private Integer c_type;        //卡片类型    0:储蓄卡  1：信用卡
    private Double c_quota;        //信用卡额度
    private Integer u_id;        //用户编号
    private String u_name;     //姓名
    private String u_address;  //地址
    private String u_sex;      //性别  默认：男
    private String u_email;    //邮箱
    private Integer u_manager; //权限  0:普通用户  1：管理员
    private String u_phone;    //手机号
    private String u_pwd;      //app登录密码
    private String u_cpwd;     //app支付密码
    private String u_idcard;   //身份证号
    private Double u_balance;   //app余额  默认0
    private Integer u_credit;  //信用积分   默认500

    public UserCard() {
    }

    public UserCard(Integer id, String c_id, String c_pwd, String c_account, String c_phone, Double c_balance, Integer c_check, Integer c_bind, Integer c_type, Double c_quota, Integer u_id, String u_name, String u_address, String u_sex, String u_email, Integer u_manager, String u_phone, String u_pwd, String u_cpwd, String u_idcard, Double u_balance, Integer u_credit) {
        this.id = id;
        this.c_id = c_id;
        this.c_pwd = c_pwd;
        this.c_account = c_account;
        this.c_phone = c_phone;
        this.c_balance = c_balance;
        this.c_check = c_check;
        this.c_bind = c_bind;
        this.c_type = c_type;
        this.c_quota = c_quota;
        this.u_id = u_id;
        this.u_name = u_name;
        this.u_address = u_address;
        this.u_sex = u_sex;
        this.u_email = u_email;
        this.u_manager = u_manager;
        this.u_phone = u_phone;
        this.u_pwd = u_pwd;
        this.u_cpwd = u_cpwd;
        this.u_idcard = u_idcard;
        this.u_balance = u_balance;
        this.u_credit = u_credit;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getC_id() {
        return c_id;
    }

    public void setC_id(String c_id) {
        this.c_id = c_id;
    }

    public String getC_pwd() {
        return c_pwd;
    }

    public void setC_pwd(String c_pwd) {
        this.c_pwd = c_pwd;
    }

    public String getC_account() {
        return c_account;
    }

    public void setC_account(String c_account) {
        this.c_account = c_account;
    }

    public String getC_phone() {
        return c_phone;
    }

    public void setC_phone(String c_phone) {
        this.c_phone = c_phone;
    }

    public Double getC_balance() {
        return c_balance;
    }

    public void setC_balance(Double c_balance) {
        this.c_balance = c_balance;
    }

    public Integer getC_check() {
        return c_check;
    }

    public void setC_check(Integer c_check) {
        this.c_check = c_check;
    }

    public Integer getC_bind() {
        return c_bind;
    }

    public void setC_bind(Integer c_bind) {
        this.c_bind = c_bind;
    }

    public Integer getC_type() {
        return c_type;
    }

    public void setC_type(Integer c_type) {
        this.c_type = c_type;
    }

    public Double getC_quota() {
        return c_quota;
    }

    public void setC_quota(Double c_quota) {
        this.c_quota = c_quota;
    }

    public Integer getU_id() {
        return u_id;
    }

    public void setU_id(Integer u_id) {
        this.u_id = u_id;
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name;
    }

    public String getU_address() {
        return u_address;
    }

    public void setU_address(String u_address) {
        this.u_address = u_address;
    }

    public String getU_sex() {
        return u_sex;
    }

    public void setU_sex(String u_sex) {
        this.u_sex = u_sex;
    }

    public String getU_email() {
        return u_email;
    }

    public void setU_email(String u_email) {
        this.u_email = u_email;
    }

    public Integer getU_manager() {
        return u_manager;
    }

    public void setU_manager(Integer u_manager) {
        this.u_manager = u_manager;
    }

    public String getU_phone() {
        return u_phone;
    }

    public void setU_phone(String u_phone) {
        this.u_phone = u_phone;
    }

    public String getU_pwd() {
        return u_pwd;
    }

    public void setU_pwd(String u_pwd) {
        this.u_pwd = u_pwd;
    }

    public String getU_cpwd() {
        return u_cpwd;
    }

    public void setU_cpwd(String u_cpwd) {
        this.u_cpwd = u_cpwd;
    }

    public String getU_idcard() {
        return u_idcard;
    }

    public void setU_idcard(String u_idcard) {
        this.u_idcard = u_idcard;
    }

    public Double getU_balance() {
        return u_balance;
    }

    public void setU_balance(Double u_balance) {
        this.u_balance = u_balance;
    }

    public Integer getU_credit() {
        return u_credit;
    }

    public void setU_credit(Integer u_credit) {
        this.u_credit = u_credit;
    }

    @Override
    public String toString() {
        return "UserCard{" +
                "id=" + id +
                ", c_id='" + c_id + '\'' +
                ", c_pwd='" + c_pwd + '\'' +
                ", c_account='" + c_account + '\'' +
                ", c_phone='" + c_phone + '\'' +
                ", c_balance=" + c_balance +
                ", c_check=" + c_check +
                ", c_bind=" + c_bind +
                ", c_type=" + c_type +
                ", c_quota=" + c_quota +
                ", u_id=" + u_id +
                ", u_name='" + u_name + '\'' +
                ", u_address='" + u_address + '\'' +
                ", u_sex='" + u_sex + '\'' +
                ", u_email='" + u_email + '\'' +
                ", u_manager=" + u_manager +
                ", u_phone='" + u_phone + '\'' +
                ", u_pwd='" + u_pwd + '\'' +
                ", u_cpwd='" + u_cpwd + '\'' +
                ", u_idcard='" + u_idcard + '\'' +
                ", u_balance=" + u_balance +
                ", u_credit=" + u_credit +
                '}';
    }
}
